package designpattern.decorator;

/**
 * TODO:类描述
 *
 * @className: A1Car
 * @packageName: designpattern.decorator
 * @author: Zhuhj
 * @version: V1.0
 * @date: 2021/4/20 21:17
 */
public class A6Car extends Car{
    public A6Car(){
        cost = 2000;
        desc = "奥迪A6";
    }

    @Override
    public double getCost() {
        return cost;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
